<template>
  <div>
    <TypeNav />
    <mySidebar />
    <Intro />
    <Detail />
    <Like />
  </div>
</template>

<script>
import TypeNav from "@/components/TypeNav";
import Like from "./Like";
import Detail from "./Detail";
import Intro from "./Intro";
import mySidebar from "./Sidebar";
export default {
  name: "Goods",
  components: { TypeNav, Like, mySidebar, Intro, Detail },
  mounted() {
    console.log("mounted");
    this.$store.dispatch("goods/getGoodsInfo", this.$route.params.goodsId);
  },
  activated() {
    console.log("activated");
  },
};
</script>

<style>
</style>